package com.demo4;

public class Bus extends Car {

    public Bus() {
    }

    public Bus(String brand, String color) {
        super(brand, color);
    }

    @Override
    public void run() {
        System.out.println("我是公交车，可以走公交专用道"+getBrand()+","+getColor());
    }
}
